package com.zx.DAO;

import com.zx.entity.News;
import org.springframework.stereotype.Repository;


import java.util.List;
@Repository
public interface NewsDao {

    List<News> findNews();

    int addNews(News news);

    int deleteById(int id);
}
